/*
 * This class is the ticket type enum.
 * Copy right with Charles. You are free to use and modify the code. Please contact author - charles@webcheng.net for commercial use.
 * */


package net.webcheng;

public enum TicketType {
	COMMON,VIP,EXPRESS;
	public String toString(){
		String name = null;
		switch(this){
		case COMMON:
			name = "common";
			break;
		case VIP:
			name = "VIP";
			break;
		case EXPRESS:
			name = "express";
			break;
		}
		return name;
	}
}
